package com.jcl.recruit.elasticsearch.core.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @ClassName ElasticsearchConfig

 * @Author yyliu
 * @Date 2018/11/1 16:31
 * @Version 1.0
 **/
@Configuration
@PropertySource(value = "classpath:crawler.properties")
public class CrawlerConfig {

    private static final Logger logger = LoggerFactory.getLogger(CrawlerConfig.class);

    @Value("${crawler.download.url}")
    private String  downloadUrl;

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

}
